import request from '@/utils/request'
import type { patientConsultOrderDetailApi, patientConsultPrescriptionApi } from '@/types/room'
// 问诊-查询订单详情信息-找医生、极速问诊和开药问诊
export const patientConsultOrderDetail = (orderId: string) =>
  request<patientConsultOrderDetailApi>('/patient/consult/order/detail', 'get', { orderId })

// 药品订单-根据处方ID查询处方单
export const patientConsultPrescription = (id: string) =>
  request<patientConsultPrescriptionApi>('patient/consult/prescription/' + id)
